package com.hwx.order_feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Desc: 订单微服务启动类(基于Feign组件)
 * @Author: hwx
 * @Date: 2020/5/26 14:46
 * @Version: v1.0
 **/
@SpringBootApplication
@EnableFeignClients		//激活Feign
@EnableCircuitBreaker    //激活hystrix
public class OrderFeignServiceApplication {

	public static void main(String[] args) {
		SpringApplication.run(OrderFeignServiceApplication.class, args);
	}

}
